package com.example.demo.design.responsibility;

public class ProcessorImplThree extends AbstractProcessor{

    public ProcessorImplThree(Processor processor) {
        super(processor);
    }

    @Override
    public void process(String param) {
        if ("3".equals(param)) {
            System.out.println("ProcessorImplThree,{} -> " + param);
        }else {
            System.out.println("做不了");
        }
    }
}
